import request from '@/utils/request'

// 查询物资月报列表
export function listMaMaterialReport(query) {
  return request({
    url: '/park/maMaterialReport/list',
    method: 'get',
    params: query
  })
}

// 查询物资月报详细
export function getMaMaterialReport(id) {
  return request({
    url: '/park/maMaterialReport/' + id,
    method: 'get'
  })
}

// 新增物资月报
export function addMaMaterialReport(data) {
  return request({
    url: '/park/maMaterialReport',
    method: 'post',
    data: data
  })
}

// 修改物资月报
export function updateMaMaterialReport(data) {
  return request({
    url: '/park/maMaterialReport',
    method: 'put',
    data: data
  })
}

// 删除物资月报
export function delMaMaterialReport(id) {
  return request({
    url: '/park/maMaterialReport/' + id,
    method: 'delete'
  })
}
